<template>
    <el-main>
    </el-main>
</template>
<script>
import {getDeptListApi} from '@/api/department'
export default {
    created(){
        getDeptList()
    },
    methods:{
        async getDeptList(){
            let res = await getDeptListApi()
            console.log(res)
        }
    }
}
</script>
<style lang="scss">

</style>